package com.glory.huaweipda.bean


import com.google.gson.annotations.SerializedName
import java.io.Serializable

data class LotInfoBean(
    @SerializedName("lots")
    val lots: List<Lot>
) : Serializable {
    data class Lot(
        @SerializedName("customername")
        val customerName: String,
        @SerializedName("desc")
        val desc: String,
        @SerializedName("eqpid")
        val eqpID: String,
        @SerializedName("eqpstate")
        val eqpState: String,
        @SerializedName("lotqty")
        val lotQty: String,
        @SerializedName("lotid")
        val lotid: String,
        @SerializedName("maskid")
        val maskID: String,
        @SerializedName("nextstepname")
        val nextStepName: String,
        @SerializedName("priority")
        val priority: String,
        @SerializedName("productname")
        val productname: String,
        @SerializedName("recipedesc")
        val recipeDesc: String,
        @SerializedName("recipename")
        val recipeName: String,
        @SerializedName("recipepath")
        val recipePath: String,
        @SerializedName("stepname")
        val stepName: String,
        @SerializedName("trackstatus")
        val trackStatus: String,
        @SerializedName("waferlist")
        val waferList: WaferList,
        @SerializedName("spclist")
        val spclist: Spclist
    ) : Serializable {
        data class WaferList(
            @SerializedName("lotid")
            val lotid: String,
            @SerializedName("wafer")
            val wafer: List<Wafer>
        ) : Serializable {
            data class Wafer(
                @SerializedName("slotno")
                val slotno: String,
                @SerializedName("waferid")
                val waferid: String
            ) : Serializable
        }

        data class Spclist(
            @SerializedName("lotid")
            val lotid: String,
            @SerializedName("spcitem_bywafer")
            val spcitemByWafer: List<SpcitemByWafer>
        ) : Serializable {
            data class SpcitemByWafer(
                @SerializedName("waferdataname")
                val waferDataName: String,
                @SerializedName("waferdatavalue")
                val waferDataValue: String
            ) : Serializable
        }
    }
}